package com.ali.gts.servlet.dao.impl;

import com.ali.gts.servlet.dao.CartDao;
import com.ali.gts.servlet.domain.CartItem;

public class CartDaoImpl extends BaseDao<CartItem> implements CartDao {
    @Override
    public CartItem queryItemById(Integer id) {
        String sql = "select * from cart where id=?";
        return query(sql,id);
    }
}
